Skip to main content

ImageMakeFromFile

Type

operator

Summary

Creates a new image.

Syntax

image from file <mPath>

Description

If the file path is relative it will be resolved relative to this card of the defaultStack in a library handler or the current widget instance script object if in a widget handler.

Parameters

NameTypeDescription

mPath

An expression which evaluates to a string.

Examples

// Load image from a file path
variable tImage
put image from file "images/logo.png" into tImage
Thank you for your feedback!

Was this page helpful?